package com.wxq.dbtest.elaticsearch.dao;

import com.wxq.dbtest.elaticsearch.entity.Student;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StudentRepository extends ElasticsearchRepository<Student,Integer> {
    List<Student> findByStudentName(String s);

}
